<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 系统内置已经写好了一些"类" 可以配合new关键字 实例化得到对象
        let str = new String("来福");
        console.log(str);
        let num = new Number(10);
        console.log(num+20)
        // 正则对象
        let reg = new RegExp('^/d{11}$');
        console.log(reg)
        // Object属于js语言中最顶级对象(类)
        let obj = new Object();
        console.log(obj);
    </script>
</body>
</html>